import Vue from 'vue'
import App from './App.vue'
import axios from "axios"
import Element from 'element-ui'

import router from "@/router/index.js"
console.log(router)


//挂载http
// axios.defaults.headers.post["Content-type"]="application/json";
Vue.prototype.$axios = axios

//添加element-ui
Vue.use(Element)

Vue.config.productionTip = false

Vue.use(router)

new Vue({
	render: h => h(App),
	router: router
}).$mount('#app')
